<link rel="stylesheet" href="./demo.css">

<div class="box swiper1">
    <img src="./imgs/img1.jpg" alt="">
    <ul>
        <li class="active"></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</div>


<div class="box swiper2">
    <img src="./imgs/img1.jpg" alt="">
    <ul>
        <li class="active"></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</div>


<script type="module">
import Swiper from './demo.js'
const s1 = new Swiper('.swiper1')
const s2 = new Swiper('.swiper2')

</script>